/*
body {
  background-color: #fff;
  color: #333;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;

  text-align: center;
}

p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a {
  color: #000;
  &:visited {
    color: #666;
  }
  &:hover {
    color: #fff;
    background-color: #000;
  }
}
div {
  &.field, &.actions {
    margin-bottom: 10px;
  }
}

#notice {
  color: green;
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table;
}

#error_explanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 0;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px;
    margin-bottom: 0px;
    background-color: #c00;
    color: #fff;
  }
  ul li {
    font-size: 12px;
    list-style: square;
  }
}
*/

body {
  background-color: #fff;
  color: #333;
  //font-family: verdana, arial, helvetica, sans-serif;
  font-family: arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
}

div#main {
  width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.question-list-item-form .question-type-list {
    list-style: none;
}
.question-list-item-form .error_explanation {
  width: 100%;
  box-sizing: border-box;
  margin: 6px 0;
  border: 2px solid #efefef;
  & h3 {
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    background-color: #df3e3e;
    background-image: -moz-linear-gradient(#f97171, #df3e3e);
    background-image: -webkit-linear-gradient(#f97171, #df3e3e);
    background-image: linear-gradient(#f97171, #df3e3e);
    background-repeat: repeat-x;
    border-bottom: 1px solid #900;
    color: #fff;
    text-shadow: 0 -1px 0 #900;
  }
  & ul li {
    padding-left: 20px;
    margin: 5px;
    font-size: 12px;
    list-style: none;
  }
}


form textarea {
  display: block;
  width: 100%;
  height: 120px;
  padding: 10px;
  resize: vertical;
}

//----

* {
   margin: 0;
   padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #4183c4;
}
.button {
  position: relative;
  display: inline-block;
  padding: 3px 15px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-shadow: 0 1px 0 rgba(255,255,255,0.9);
  white-space: nowrap;
  background-color: #eaeaea;
  background-image: -moz-linear-gradient(#fafafa, #eaeaea);
  background-image: -webkit-linear-gradient(#fafafa, #eaeaea);
  background-image: linear-gradient(#fafafa, #eaeaea);
  background-repeat: repeat-x;
  border-radius: 3px;
  border: 1px solid #ddd;
  border-bottom-color: #c5c5c5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  vertical-align: middle;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  &.form {
    padding: 7px 17px;
  }
}
.button:hover {
  text-decoration: none;
  background-color: #dadada;
  background-image: -moz-linear-gradient(#eaeaea, #dadada);
  background-image: -webkit-linear-gradient(#eaeaea, #dadada);
  background-image: linear-gradient(#eaeaea, #dadada);
  background-repeat: repeat-x;
  border-color: #ccc #ccc #b5b5b5;
}
.button.selected {
  background-color: #dadada;
  background-image: none;
  border-color: #b5b5b5;
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.15);
}
.button.primary {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
  background-color: #60b044;
  background-image: -moz-linear-gradient(#8add6d, #60b044);
  background-image: -webkit-linear-gradient(#8add6d, #60b044);
  background-image: linear-gradient(#8add6d, #60b044);
  background-repeat: repeat-x;
  border-color: #5ca941;
}
.button.primary:hover {
  color: #fff;
  background-color: #569e3d;
  background-image: -moz-linear-gradient(#79d858, #569e3d);
  background-image: -webkit-linear-gradient(#79d858, #569e3d);
  background-image: linear-gradient(#79d858, #569e3d);
  background-repeat: repeat-x;
  border-color: #4a993e;
}
.button-group:after {
  clear: both;
}
.button-group:before, .button-group:after {
content: " ";
display: table;
}
.button-group .button {
  position: relative;
  float: left;
  border-radius: 0;
  margin-left: -1px;
}
.button-group .button:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  margin-left: 0px;
}
.button-group .button:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.tasks-filter-buttons {
  margin-bottom: 20px;
}

input[type="text"], #adv_code_search .search-page-label, input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="url"], textarea {
  min-height: 34px;
  padding: 7px 8px;
  outline: none;
  color: #333;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right center;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in 0;
  vertical-align: middle;
  //padding-top: 0px;
  //padding-bottom: 0px;
  min-height: 30px;
}
input[type="text"].focus, #adv_code_search .focus.search-page-label, input[type="text"]:focus, .focused .drag-and-drop, #adv_code_search .search-page-label:focus, input[type="password"].focus, input[type="password"]:focus, input[type="email"].focus, input[type="email"]:focus, input[type="number"].focus, input[type="number"]:focus, input[type="tel"].focus, input[type="tel"]:focus, input[type="url"].focus, input[type="url"]:focus, textarea.focus, textarea:focus {
  border-color: #51a7e8;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.075),0 0 5px rgba(81,167,232,0.5);
}
input, select, textarea, button {
  font: 13px;
  line-height: 1.4;
}
input.single_line {
  width: 100%;
}
input.single-line {
  width: 100%;
}
label {
  margin-bottom: 4px;
}
h2.title-text {
  margin-top: 15px;
  margin-bottom: 15px;
  line-height: 1.1;
}
h2 {
  font-size: 24px;
}
h4 {
  font-size: 15px;
}
h4.subtitle-text {
  padding: 15px 0;
  line-height: 1.1;
}
dl {
  margin-bottom: 10px;
}
dt {
  margin-bottom: 5px;
  &.error {
    color: #f00;
  }
}

div.question-version {
  margin: 8px 0;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}
//discussion
.discussion-bubble {
  margin: 10px 0;
  float: left;
  width: 100%;
}
.discussion-bubble .discussion-bubble-avatar {
  position: relative;
  float: left;
  border-radius: 3px;
}
.discussion-bubble .discussion-bubble-content {
  position: relative;
  margin-left: 60px;
}
.bubble {
  padding: 3px;
  background: #eee;
  border-radius: 3px;
}
.discussion-bubble-content:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
  border: 10px solid #EEE;
  border-width: 10px 10px 10px 0;
  border-color: rgba(238,238,238,0) #eee rgba(238,238,238,0) rgba(238,238,238,0);
  position: absolute;
  left: -10px;
  top: 15px;
}
.discussion-bubble-inner {
  min-height: 32px;
  border: 1px solid #CACACA;
  background-color: #fff;
}
.comment-header {
  height: 33px;
  padding: 0 10px 0 6px;
  border-bottom: 1px solid #ccc;
  background-color: #e1e1e1;
  background-image: -moz-linear-gradient(#f8f8f8, #e1e1e1);
  background-image: -webkit-linear-gradient(#f8f8f8, #e1e1e1);
  background-image: linear-gradient(#f8f8f8, #e1e1e1);
  background-repeat: repeat-x;
  font-size: 12px;
  color: #939AA0;
  margin: 8px 2px 0 1px;
  text-decoration: none;
  line-height: 33px;
}
.comment-header .comment-header-author {
  max-width: 600px;
  font-weight: bold;
  color: #222;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.7);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 10px;
}
.comment-content {
  padding: 10px;
  color: #333;
  font-size: 12px;
  background: #fbfbfb;
}
.comment-content .quote {
  margin: 0 0 15px 0;
  border-left: 4px solid #ddd;
  padding: 0 0 0 15px;
  color: #777;
}
.comment-content .meta {
  margin-top: 4px;
  color: #939AA0;
}
.question-list-item {
  border: 1px solid #CACACA;
  //padding: 6px 6px 0 6px;
  margin: 8px 0;
  border-radius: 3px;
}
.question-list-item .question-list-item-title {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  height: 33px;
  line-height: 33px;
  padding: 0 8px;
  border-bottom: 1px solid #ccc;
  background-color: #e1e1e1;
  background-image: -moz-linear-gradient(#f8f8f8, #e1e1e1);
  background-image: -webkit-linear-gradient(#f8f8f8, #e1e1e1);
  background-image: linear-gradient(#f8f8f8, #e1e1e1);
  background-repeat: repeat-x;
  font-size: 12px;
  color: #939AA0;
  h4 {
    color: #000;
    font-size: 12px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7)
  }
}
.question-list-item .question-list-item-content {
  padding: 0 6px;
  border-bottom: 1px solid #ccc
}
.question-list-item .question-list-item-meta {
  padding: 6px;
  color: #939AA0;
  a {
    color: #939AA0;
  }
}
.inline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.inline-list li {
  display: inline-block;
}
.inline-list li+li {
  padding-left: 10px;
}
.inline-list a {
  cursor: default;
  &:hover {
    text-decoration: underline;
  }
}

.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}
.middle {
  display: table;
  margin: 0 auto;
}
.bar {
  float: left;
  width: 100%;
  margin: 0;
  margin-bottom: 8px;
}
.bar:after {
  clear: both;
}

//title & body
.title_bar {
  position: relative;
  padding: 8px 18px;
  margin: 0;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
  background-color: #6c8393;
  background-image: -moz-linear-gradient(#7f95a5, #6c8393);
  background-image: -webkit-linear-gradient(#7f95a5, #6c8393);
  background-image: linear-gradient(#7f95a5, #6c8393);
  background-repeat: repeat-x;
  border: 1px solid #6e8290;
  border-bottom-color: #586873;
  border-radius: 4px 4px 0 0;
}
.body {
  padding: 15px 18px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d8dee2;
  border-top-color: white;
  border-radius: 0 0 4px 4px;
}
.frame {
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d8dee2;
  border-radius: 4px;
}
.frame .area {
  padding: 10px;
  & p {
    margin: 3px 0;
  }
}

//list: tabs
.tab {
  display: inline-block;
  padding: 8px 12px 7px;
  border: 1px solid transparent;
  border-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  color: #666;
  text-decoration: none;
}
.tab_bar li {
  display: inline-block;
  margin-bottom: -1px;
}
.tab.selected {
  border-color: #ddd;
  border-radius: 3px 3px 0 0;
  background-color: #fff;
  color: #333;
}
.tab_bar {
  margin: 0 0 15px 0;
  border-bottom: 1px solid #ddd;
  height: 35px;
}
//list: filter-list
.filter-list {
  list-style-type: none;
}
.filter-list a {
  color: #000;
  cursor: default;
}
.filter-list li {
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.filter-list .mimibutton-append:hover {
  content: '+';
  background-color: #4183c4;
  border-radius: 10px;
  color: #000;
  & a {
    color: #fff;
  }
}
.filter-list .selected .mimibutton-append:hover {
  background-color: #eee;
  & a {
    color: #000;
  }
}
.filter-list li.selected {
  & a {color: #fff;}
  background: #4183c4;
}
.filter-list li.selected:hover {
  background-color: #4183c4;
}
.filter-list li:hover {
  background: #eee;
}

//list: list-group
.list-group-item:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.list-group-item {
  position: relative;
  display: block;
  margin-bottom: -1px;
  padding: 8px 10px 10px 40px;
  border: 1px solid #e5e5e5;
  white-space:nowrap;
  & a {
    color: #000;
  }
  & h4 {
    //font-weight: normal;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 2px;
    &.list-group-item-meta {
      color: #999999;
      font-weight: normal;
    }
  }
}
.list-group-item-meta {
  font-size: 11px;
  line-height: 17px;
  list-style-type: none;
  overflow: hidden;
  color: #999999;
}
//menu
.menu-container {
  float: left;
  width: 200px;
  padding: 3px;
  background: #efefef;
  border-radius: 2px;
  margin-top:15px;
}
.menu {
  background: #fafafb;
  border-radius: 2px;
  border: 1px solid #d8d8d8;
  list-style: none;
}
.menu li:first-child {
  border-top: none;
}
.menu li {
  border-bottom: 1px solid #eee;
  border-top: 1px solid #fff;
}
.menu a.selected {
  background: #fff;
  border-left: 2px solid #d26911;
  font-weight: bold;
  color: #222;
  cursor: default;
  box-shadow: inset 0 0px 1px rgba(0,0,0,0.1);
}
.menu a {
  display: block;
  padding: 8px 10px 8px 8px;
  text-shadow: 0 1px 0 #fff;
  border-left: 2px solid #fafafb;
}
//userlist
ul.userlist {
  margin: 0;
  border-top: 1px solid #ddd;
}
ul.userlist li {
  list-style-type: none;
  margin: 0;
  height: 20px;
  padding: 4px;
  border-bottom: 1px solid #ddd;
}
.top {
  //margin-bottom: 10px;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #f3f3f3;
  background-image: -moz-linear-gradient(#f9f9f9, #f3f3f3);
  background-image: -webkit-linear-gradient(#f9f9f9, #f3f3f3);
  background-image: linear-gradient(#f9f9f9, #f3f3f3);
  background-repeat: repeat-x;
}
.top div {
  margin-left: 10px;
  margin-right: 10px;
}
.competition {
  height: 40px;
  line-height: 40px;
  padding-top: 10px;
  //padding-bottom: 10px;
  //margin-bottom: 10px;
  //border-bottom: 1px solid #e5e5e5;
}
.competition h1 {
  margin: 0;
  padding: 0;
}
.bottom {
  margin-top: 30px;
  line-height: 40px;

}